<?php

namespace Database\Factories;

use Illuminate\Database\Eloquent\Factories\Factory;

class VideoFactory extends Factory
{
    /**
     * Define the model's default state.
     *
     * @return array
     */
    public function definition()
    {
        return [
            //
            'title'=>$this->faker->title,
            'type'=>rand(0,1),
            'content'=>$this->faker->paragraphs(3,true),
            'begin'=>$this->faker->dateTimeBetween('now','2024-9-1','PRC'),
            'end'=>$this->faker->dateTimeBetween('2024-1-1','2024-9-1','PRC'),

        ];
    }
}
